OBJECT PLAYING

This command will return a one if the specified 3D object is playing its animation, otherwise zero will be returned.

  Syntax
Return Integer=OBJECT PLAYING(Object Number)
  Parameters
Object Number
Integer
The object number

  Returns

This command will return a one if the specified 3D object is playing its animation, otherwise zero will be returned

  Description

The parameter should be specified using an integer value.

  Example Code
backdrop off : cls : sync on : sync rate 0 : hide mouse:cls 0
ObjectNumber=1
load object "models\model.x",ObjectNumber
print "BASIC3D EXPRESSION DATA"
if object exist(ObjectNumber)=1
  See also

BASIC3D Commands Menu
Index